package com.bbs.detai1713.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.sql.Timestamp;
import java.util.Date;

@Data
public class SelectInformation {
    long userId;
    String username, password, nickName, headImage;
    int age, roleId;
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    Timestamp registerDate;
    Date birthday;
    Role role;

}
